package com.hxzy.shop.dto.auth.resp;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;


@Data
public class ModuleResp implements Serializable {
    private static final long serialVersionUID = 1951332242580339204L;

    @ApiModelProperty("模块id")
    private Long moduleId;
    @ApiModelProperty("父ID")
    private Long pid;
    @ApiModelProperty("图标")
    private String icon;
    @ApiModelProperty("名称")
    private String name;
    @ApiModelProperty("排序")
    private Integer sort;
    @ApiModelProperty("文件的路径url")
    private String url;
    @ApiModelProperty("路由url")
    private String showUrl;
    @ApiModelProperty("有值时设置选中的左侧路由，没有值时则为直接显示在左侧")
    private String activeMenu;
    @ApiModelProperty("可见状态(false:不可见,true:可见)")
    private Boolean visiable;
    @ApiModelProperty("apiurl")
    private String apiUrl;
    @ApiModelProperty("模块权限")
    private List<ModuleResp> modules;
}
